package org.qingke.mail.common;

import java.util.Date;

/**
 * 单点登录系统业务请求对象
 * @author JAVA
 *
 */

public class SSORequest {
	 private Long id;

	    private String username;

	    private String password;

	    private String phone;

	    private String email;

	    private Date created;

	    private Date updated;
	    
	    // token
	 	protected String token;
	 	// 定向地址
	 	protected String redirectUrl;
	 	
	 	private SSORequest () {}
	 	
	 	public static SSORequest getSSORequest(){
	 		return new SSORequest();
	 	}
	 	
		public Long getId() {
			return id;
		}
		public void setId(Long id) {
			this.id = id;
		}
		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}
		public String getPassword() {
			return password;
		}
		public void setPassword(String password) {
			this.password = password;
		}
		public String getPhone() {
			return phone;
		}
		public void setPhone(String phone) {
			this.phone = phone;
		}
		public String getEmail() {
			return email;
		}
		public void setEmail(String email) {
			this.email = email;
		}
		public Date getCreated() {
			return created;
		}
		public void setCreated(Date created) {
			this.created = created;
		}
		public Date getUpdated() {
			return updated;
		}
		public void setUpdated(Date updated) {
			this.updated = updated;
		}
		public String getToken() {
			return token;
		}
		public void setToken(String token) {
			this.token = token;
		}
		public String getRedirectUrl() {
			return redirectUrl;
		}
		public void setRedirectUrl(String redirectUrl) {
			this.redirectUrl = redirectUrl;
		}
		@Override
		public String toString() {
			return "SSORequest [id=" + id + ", username=" + username + ", password=" + password + ", phone=" + phone
					+ ", email=" + email + ", created=" + created + ", updated=" + updated + ", token=" + token
					+ ", redirectUrl=" + redirectUrl + "]";
		}
    
}
